package com.wyz.note.project.auth.domain.pojo;

/**
 * <p>
 * 用户角色关系表
 * </p>
 *
 * @author Wei yz
 * @since 2022-01-19
 */
public class RolePermissionRel extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 角色信息id
     */
    private String roleId;

    /**
     * 权限信息id
     */
    private String permissionId;

    public String getRoleId() {
        return roleId;
    }

    public RolePermissionRel setRoleId(String roleId) {
        this.roleId = roleId;
        return this;
    }
    public String getPermissionId() {
        return permissionId;
    }

    public RolePermissionRel setPermissionId(String permissionId) {
        this.permissionId = permissionId;
        return this;
    }

    @Override
    public String toString() {
        return "RolePermissionRel{" +
            "roleId=" + roleId +
            ", permissionId=" + permissionId +
        "}";
    }
}
